Package pl.wendigo.chrome.api.cachestorage

Contains DevTools Protocol CacheStorage domain implementation accessible via CacheStorageDomain class.

Types

Cache
Link copied to clipboard
data class Cache(cacheId: CacheId, securityOrigin: String, cacheName: String)
Cache identifier.
CachedResponse
Link copied to clipboard
data class CachedResponse(body: String)
Cached response
CachedResponseType
Link copied to clipboard
enum CachedResponseType : Enum<CachedResponseType>
type of HTTP response cached
CacheId
Link copied to clipboard
typealias CacheId = String

Unique identifier of the Cache object.

CacheStorageDomain
Link copied to clipboard
class CacheStorageDomain : Domain
CacheStorageDomain represents CacheStorage protocol domain request/response operations and events that can be captured.
DataEntry
Link copied to clipboard
data class DataEntry(requestURL: String, requestMethod: String, requestHeaders: List<Header>, responseTime: Double, responseStatus: Int, responseStatusText: String, responseType: CachedResponseType, responseHeaders: List<Header>)
Data entry.
DeleteCacheRequest
Link copied to clipboard
data class DeleteCacheRequest(cacheId: CacheId)
Represents request frame that can be used with CacheStorage#deleteCache operation call.
DeleteEntryRequest
Link copied to clipboard
data class DeleteEntryRequest(cacheId: CacheId, request: String)
Represents request frame that can be used with CacheStorage#deleteEntry operation call.
Header
Link copied to clipboard
data class Header(name: String, value: String)
RequestCachedResponseRequest
Link copied to clipboard
data class RequestCachedResponseRequest(cacheId: CacheId, requestURL: String, requestHeaders: List<Header>)
Represents request frame that can be used with CacheStorage#requestCachedResponse operation call.
RequestCachedResponseResponse
Link copied to clipboard
data class RequestCachedResponseResponse(response: CachedResponse)
Represents response frame that is returned from CacheStorage#requestCachedResponse operation call.
RequestCacheNamesRequest
Link copied to clipboard
data class RequestCacheNamesRequest(securityOrigin: String)
Represents request frame that can be used with CacheStorage#requestCacheNames operation call.
RequestCacheNamesResponse
Link copied to clipboard
data class RequestCacheNamesResponse(caches: List<Cache>)
Represents response frame that is returned from CacheStorage#requestCacheNames operation call.
RequestEntriesRequest
Link copied to clipboard
data class RequestEntriesRequest(cacheId: CacheId, skipCount: Int?, pageSize: Int?, pathFilter: String?)
Represents request frame that can be used with CacheStorage#requestEntries operation call.
RequestEntriesResponse
Link copied to clipboard
data class RequestEntriesResponse(cacheDataEntries: List<DataEntry>, returnCount: Double)
Represents response frame that is returned from CacheStorage#requestEntries operation call.